package com.loong.loong.hik.property.result.face;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.List;
import lombok.Data;

/**
 * 按条件查询重点人员事件的返回参数实体类
 * @author jinyiang
 * @date 2023/3/10 16:59
 */
@Data
@ApiModel("按条件查询重点人员事件的返回参数实体类")
public class QueryImportantPersonEventResultVo {
	@ApiModelProperty(value = "接口返回码")
	private String code;

	@ApiModelProperty(value = "返回消息")
	private String msg;

	@ApiModelProperty(value = "返回数据")
	private Data data;
	@lombok.Data
	@ApiModel("返回数据")
	public static class Data {

		@ApiModelProperty(value = "总数")
		private int total;

		@ApiModelProperty(value = "当前页码")
		private int pageNo;

		@ApiModelProperty(value = "每页大小")
		private int pageSize;

		@ApiModelProperty(value = "事件列表")
		private List<Event> list;
		@lombok.Data
		@ApiModel("事件列表")
		public static class Event {

			@ApiModelProperty(value = "抓拍信息")
			private SnapInfo snapInfo;

			@ApiModelProperty(value = "目标信息列表")
			private List<TargetInfo> targetInfoList;
			@lombok.Data
			@ApiModel("目标信息列表")
			public static class SnapInfo {

				@ApiModelProperty(value = "背景图片URL")
				private String bkgUrl;

				@ApiModelProperty(value = "抓拍图片URL")
				private String snapUrl;

				@ApiModelProperty(value = "设备编号")
				private String deviceIndexcode;

				@ApiModelProperty(value = "设备名称")
				private String deviceName;

				@ApiModelProperty(value = "监控点编号")
				private String cameraIndexcode;

				@ApiModelProperty(value = "监控点名称")
				private String cameraName;

				@ApiModelProperty(value = "性别")
				private String gender;

				@ApiModelProperty(value = "年龄")
				private String age;

				@ApiModelProperty(value = "是否戴眼镜")
				private String glass;

				@ApiModelProperty(value = "事件发生时间")
				private String eventTime;
			}
			@lombok.Data
			@ApiModel("事件发生时间")
			public static class TargetInfo {

				@ApiModelProperty(value = "目标名称")
				private String name;

				@ApiModelProperty(value = "相似度")
				private String similarity;

				@ApiModelProperty(value = "证件类型")
				private String certificateType;

				@ApiModelProperty(value = "性别")
				private String sex;

				@ApiModelProperty(value = "证件号码")
				private String certificateNumber;

				@ApiModelProperty(value = "人脸信息编号")
				private String faceInfoIndexcode;

				@ApiModelProperty(value = "人脸分组编号")
				private String faceGroupIndexcode;

				@ApiModelProperty(value = "人脸分组名称")
				private String faceGroupName;

				@ApiModelProperty(value = "人脸图片URL")
				private String faceUrl;
			}
		}
	}
}
